package Composite;

public abstract class Compent {
    private String position;
    private String job;

    public Compent (String job,String position)
    {
        this.job=job;
        this.position=position;
    }

    public  void work()
    {

    }

    public abstract void removeCompent(Compent compent);

    public abstract void addCompent(Compent compent);

    public abstract void chek();
}
